<div class="middleColumn">
<table class="leagueTable">
		<thead>
		<tr>
		  <% if isReadonly %>
			<th>$Name
			<% else %>
			<th>$Name 
			 <input name="delLeague-$ID" type="image" src="cms/images/delete.gif" alt="delete" />
			</th>
            <th style="width:10px;"></th>
			<% end_if %>

		</tr>
		</thead>
		<tbody>
			<% if Teams %>	
			<% if isReadonly %>
			<% control Teams %>
            <tr>
                <td>
                    <h3>$Title</h3>
                    <strong>Fairplay Punktabzüge:</strong><br />
                    <% if FairPlayFoulPoints %>
                    <% control FairPlayFoulPoints %>
                    $points : $desc <input name="delFairPlayFoulPoints-$ParentLeague.ID-$ID" type="image" src="cms/images/delete.gif" alt="delete" /><br />
                    <% end_control %>
                    <% end_if %>
                    <input type="text" name="FairPlayFoulPoints-$ParentLeague.ID-$ID" size="2" /><input type="text" name="FairPlayFoulDesc-$ParentLeague.ID-$ID" size="50"/><input type="submit" name="addFairPlayFoulPoints-$ParentLeague.ID-$ID" value="hinzufügen" />
                    <br /><br />
                    <strong>Punktabzüge:</strong><br />
                    <% if FoulPoints %>
                    <% control FoulPoints %>
                    $points : $desc <input name="delFoulPoints-$ParentLeague.ID-$ID" type="image" src="cms/images/delete.gif" alt="delete" /><br />
                    <% end_control %>
                    <% end_if %>
                    <input type="text" name="FoulPoints-$ParentLeague.ID-$ID" size="2" /><input type="text" name="FoulDesc-$ParentLeague.ID-$ID" size="50"/><input type="submit" name="addFoulPoints-$ParentLeague.ID-$ID" value="hinzufügen" />
                </td>

            </tr>
            <% end_control %>
			<% else %>
			<% control Teams %>
			<tr>
				<td>
					$Title
				</td>
				<td><input name="delTeam-$ParentLeague.ID-$ID" type="image" src="cms/images/delete.gif" alt="delete" /></td>
			</tr>
			<% end_control %>
			<% end_if %>
			<% end_if %>
			
			<% if isReadonly %><% else %>
			<tr>
				<td colspan="2">		
				<span>Team Hinzufügen</span>
		<select name="Team-$ID">
			<option value="0">Team auswählen</option>
			<% if AllTeams %>
				<% control AllTeams %>
					<option value="$ID">$Title</option>
				<% end_control %>
			<% end_if %>
			
		</select>
		<input name="addTeam-$ID" type="submit" class="action" value="<% _t('ADD', 'Add') %>" /> </td>
			</tr>
		<% end_if %>
		</tbody>
	</table>

</div>